package com.shensi.api.pay.client;

import com.shensi.common.core.constant.CloudConstant;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * @date 2023/11/9
 */
@FeignClient(name = CloudConstant.PAY_SERVER, path = "/sxf")
public interface SxfCallbackClient {


    /**
     * 随行付机构交易推送接口
     * 该接口只处理银行卡交易推送，不处理二维码交易
     *
     * @param request
     * @return
     */
    @PostMapping("unifiedCallback")
    public String unifiedCallback(@RequestBody Map<String, Object> request);

}
